package com.leslie.wukong.biz.system.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * ClassName: SysUser
 * Package: com.leslie.wukong.biz.system.domain
 * Description:
 * @date: 2024/12/4 14:12
 * @author: itcoder
 */

@Data
public class SysUserAddDTO implements Serializable {
    /**
     * 用户账号
     */
    @Schema(description = "用户账号")
    @NotNull(message = "用户账号为空")
    private String userName;

    /**
     * 用户昵称
     */
    @Schema(description = "用户昵称")
    @NotNull(message = "用户昵称为空")
    private String nickName;

    /**
     * 用户邮箱
     */
    @Schema(description = "用户邮箱")
    private String email;

    /**
     * 手机号码
     */
    @Schema(description = "手机号码")
    private String phoneNumber;

    /**
     * 用户性别
     */
    @Schema(description = "用户性别")
    private Integer sex;

    /**
     * 用户头像
     */
    @Schema(description = "用户头像")
    private String avatar;

    /**
     * 账号状态(0正常 1停用)
     */
    @Schema(description = "账号状态(0正常 1停用)")
    private Integer status;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    private static final long serialVersionUID = 1L;
}